//
//  Human.m
//  oc_21
//
//  Created by 楼楚 on 15/9/17.
//  Copyright (c) 2015年 Chu Lou. All rights reserved.
//

#import "Human.h"

@implementation Human
@synthesize height = _height;
@synthesize name = _name;
//- (void)setName:(NSString *)name
//{
//    if (_name != name) {
//        [_name release];
//        _name = nil;
//        _name = [name copy];
//    }
//    
//}
- (id)copyWithZone:(NSZone *)zone;

{
    Human *temHm = [[Human allocWithZone:zone]autorelease];
    temHm.name = self.name;
    temHm.height = self.height;
    return temHm;
}
- (id)mutableCopyWithZone:(NSZone *)zone

{
    Human *temHm = [[Human allocWithZone:zone]autorelease];
    temHm.name = self.name;
    temHm.height = self.height;
    return temHm;
    
}


@end
